package com.kayt.cyberBar.cyber.business.dao.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.kayt.cyberBar.common.dao.EntityDao;
import com.kayt.cyberBar.cyber.business.dao.ICyberBaseRankDao;

@Repository("iCyberBaseRankDao")
public class CyberBaseRankDaoImpl implements ICyberBaseRankDao {
	
	@Autowired
	private EntityDao entityDao;
	
	@Override
	public List getRankListByHql(int pageNum, int pageSize, String hql, Object[] params) throws SQLException {
		return this.entityDao.getPagingDataByHql(pageNum, pageSize, hql, params);
	}
}
